package com.zhiyou100.mapper;

import com.zhiyou100.model.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    List<Order> listOrder(Map map);

    int addOrder(Order Order);

    int updateOrder(Order Order);

    Order lookOrder(int id);

    int deleteAll(List<Integer> OrderIds);

    int delete(int id);

    int updateOrderEndTime(@Param("id") int id,@Param("endTime") String endTime);
}
